<?php

use Illuminate\Database\Seeder;
use App\Services\Registrar;
class UserSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
        $data = [
            'name' => 'admin',
            'email' => 'admin@admin.com',
            'password' =>'123456',
            'desc'=>'管理员'
        ];
        $register = new Registrar();
        $register->create($data);
    }
}
